

CC = gcc
LD = gcc

CFLAGS = -c -Wall -O -Werror
LDFLAGS = 

OBJS = test.o plugin.o

TARGET = test.exe


all: $(TARGET)
	@echo ---------------------------------
	@echo done.


$(TARGET): $(OBJS)
	@echo $@:
	$(LD) $(OBJS) $(LDFLAGS) -o $@

.c.o:
	@echo $<:
	$(CC) $(CFLAGS) -o $@ $<


.PHONY: clean

clean:
	del *.o
	del $(TARGET)


